home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 June
/
ccd0605.iso
/
Software
/
Freeware
/
Programare
/
highlight
/
highlight-W32GUI-2.2-10b-Setup.exe
/
{app}
/
src
/
xhtmlgenerator.h
< prev
next >
Wrap
C/C++ Source or Header
|
2005-03-20
|
2KB
|
71 lines
/***************************************************************************
xhtmlgenerator.h - description
-------------------
begin : Mo Jun 21 2004
copyright : (C) 2004 by Andre Simon
email : andre.simon1@gmx.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef XHTMLGENERATOR_H
#define XHTMLGENERATOR_H
#include "htmlgenerator.h"
namespace highlight {
/**
\brief This class generates XHTML.
It contains information about the resulting document structure (document
header and footer), the colour system, white space handling and text
formatting attributes.
* @author Andre Simon
*/
class XHtmlGenerator : public highlight::HtmlGenerator
{
public:
/** Constructor
\param colourTheme Name of Colour theme to use
\param enc encoding name
\param omitEnc switch to omit encoding information
\param withAnchors Test if HTML anchors should be attached to line numbers
*/
XHtmlGenerator(const string &colourTheme,
const string &enc,
bool omitEnc=false,
bool withAnchors = false);
XHtmlGenerator();
/** Destructor*/
virtual ~XHtmlGenerator() {};
private:
/** prints document header
\param title Title of the document
*/
string getHeader(const string &title);
string getHeaderStart(const string &title);
};
}
#endif